package com.youdelu.road.bean;

import com.lidroid.xutils.db.annotation.Id;

public class Attr {
    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    @Id
    private int id ;

    public int getBgId() {
        return bgId;
    }

    public void setBgId(int bgId) {
        this.bgId = bgId;
    }

    private int bgId ;
    private double pointX;
    private double pointY;

    public float getRotation() {
        return rotation;
    }

    public void setRotation(float rotation) {
        this.rotation = rotation;
    }

    private float rotation;

    private int state; // 0 贴片 1 交通灯

    public int getFilp() {
        return filp;
    }

    public void setFilp(int filp) {
        this.filp = filp;
    }

    private int filp =0; // 是否翻转  0 正常 1 翻转

    public float getScale() {
        return scale;
    }

    public void setScale(float scale) {
        this.scale = scale;
    }

    private float scale = 1f;

    public double getPointX() {
        return pointX;
    }

    public void setPointX(double pointX) {
        this.pointX = pointX;
    }

    public double getPointY() {
        return pointY;
    }

    public void setPointY(double pointY) {
        this.pointY = pointY;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public boolean isTitleShow() {
        return isTitleShow;
    }

    public void setTitleShow(boolean titleShow) {
        isTitleShow = titleShow;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    private boolean isTitleShow ;
    private String title ;
    private String path ;

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    private int type ; //类型 1交通灯 2动态情报板 3三色红绿灯 4变道灯

    public int getPosition() {
        return position;
    }

    public void setPosition(int position) {
        this.position = position;
    }

    private int position;//位置 1 桥梁 2隧道

    public int getDefault_value() {
        return default_value;
    }

    public void setDefault_value(int default_value) {
        this.default_value = default_value;
    }

    private int default_value; //固定值

    public int getIs_lock() {
        return is_lock;
    }

    public void setIs_lock(int is_lock) {
        this.is_lock = is_lock;
    }

    public int getIs_un() {
        return is_un;
    }

    public void setIs_un(int is_un) {
        this.is_un = is_un;
    }

    private int is_lock ; // 是否锁定
    private int is_un; // 是否是反面
}
